package com.Lyf.user.config;

public class RabbitMQConstant {
    //延迟交换机
    public static final String DELAY_EXCHANGE= "delay.exchange";
    //死信交换机
    public static final String DEAD_LETTER_EXCHANGE= "dead.letter.exchange";
    //延迟队列
    public static final String DELAY_QUEUE_A="delay.queue.a";
    public static final String DELAY_QUEUE_B="delay.queue.b";
    //死信队列
    public static final String DEAD_LETTER_QUEUE_A="dead.letter.queue.a";
    public static final String DEAD_LETTER_QUEUE_B="dead.letter.queue.b";

    //延迟交换机-延迟队列 routingKey
    public static final String DELAY_EXCHANGE_TO_DELAY_QUEUE_A_ROUTING_KEY= "delay.exchange.to.delay.queue.a";
    public static final String DELAY_EXCHANGE_TO_DELAY_QUEUE_B_ROUTING_KEY= "delay.exchange.to.delay.queue.b";


    //延迟队列-死信交换机(这俩其实不需要写)
    public static final String DELAY_QUEUE_A_TO_DEAD_LETTER_EXCHANGE_ROUTING_KEY= "delay.queue.a.to.dead.letter.exchange";
    public static final String DELAY_QUEUE_B_TO_DEAD_LETTER_EXCHANGE_ROUTING_KEY= "delay.queue.b.to.dead.letter.exchange";

    //死信交换机-死信队列 routingKey
    public static final String DEAD_LETTER_EXCHANGE_TO_DEAD_LETTER_QUEUE_A_ROUTING_KEY= "dead.letter.exchange.to.dead.queue.a.routingKey";
    public static final String DEAD_LETTER_EXCHANGE_TO_DEAD_LETTER_QUEUE_B_ROUTING_KEY= "dead.letter.exchange.to.dead.queue.b.routingKey";
}
